@if($form_tpl_item['type']=='custom')
    {{--//完全自定义模板--}}
    @include('admin.default.'.$form_tpl_item['custom_blade'],['form_item'=>$form_tpl_item])
@else
    @if($form_tpl_item['type']!='hidden')
        <div class="layui-form-item {{ $form_tpl_item['itemClass']??'' }}">
            @include('admin.default.tpl.form.label',['form_item'=>$form_tpl_item])
            <div class="layui-input-block">
                @switch($form_tpl_item['type'])
                    @case('text')
                    @case('type')
                    @case('email')
                    @case('number')
                    @case('date')
                    @case('datetime')
                    @include('admin.default.tpl.form.text',['form_item'=>$form_tpl_item])
                    @break
                    @case('select')

                    @include('admin.default.tpl.form.select',['form_item'=>$form_tpl_item])
                    @break
                    @case('textarea')
                    @include('admin.default.tpl.form.textarea',['form_item'=>$form_tpl_item])
                    @break
                    @case('radio')
                    @include('admin.default.tpl.form.radio',['form_item'=>$form_tpl_item])
                    @break
                    @case('checkbox')
                    @include('admin.default.tpl.form.checkbox',['form_item'=>$form_tpl_item])
                    @break
                    @case('editor')
                    @include('admin.default.tpl.form.textarea',['form_item'=>$form_tpl_item])
                    @break
                    @case('img')
                    @include('admin.default.tpl.form.img',['form_item'=>$form_tpl_item])
                    @break
                    @case('imgMore')
                    @include('admin.default.tpl.form.imgMore',['form_item'=>$form_tpl_item])
                    @break
                    @case('imgInput')
                    @include('admin.default.tpl.form.imgInput',['form_item'=>$form_tpl_item])
                    @break
                    @case('icon')
                    @include('admin.default.tpl.form.icon',['form_item'=>$form_tpl_item])
                    @break
                    @case('color')
                    @include('admin.default.tpl.form.color',['form_item'=>$form_tpl_item])
                    @break
                    @case('blade')
                    @include('admin.default.'.$form_tpl_item['blade_name'],['form_item'=>$form_tpl_item])
                    @break
                    @case('map')
                    @include('admin.default.tpl.form.map',['form_item'=>$form_tpl_item])
                    @break
                    @case('xmSelect')
                    @include('admin.default.tpl.form.xmSelect',['form_item'=>$form_tpl_item])
                    @break
                    @case('selectDisable')
                    @include('admin.default.tpl.form.selectDisable',['form_item'=>$form_tpl_item])
                    @break

                @endswitch
            </div>
        </div>
    @else
        @include('admin.default.tpl.form.text',['form_item'=>$form_tpl_item])
    @endif
@endif
